package data;

public class testBMP
{
	public static void main(String[] args)
	{
		int a=0;
		System.out.println(a|a<<8|a<<16);
		a=255;
		System.out.println(a|a<<8|a<<16);
		int lenght=101;
		int width=101;
		int[][] rgbValues = new int[lenght][width];
		for(int i=0;i<width;i++){
			for(int j=0;j<lenght;j++){
				if (i%5==0 || j%5==0){
					int red= 10;
					int green=100;
					int blue = 1;
					rgbValues[i][j]=red|green<<8|blue<<16;
				}
				else{
					int red= 255;
					int green=255;
					int blue = 255;
					rgbValues[i][j]=red|green<<8|blue<<16;
				}
			}
		}
		BMP bmp = new BMP();
		bmp.saveBMP("c:/tmp/test.bmp",rgbValues);
	}
}